package com.mspbots.core.script.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseMapper;
import com.mspbots.core.script.model.TenantScript;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 */
@Mapper
public interface TenantScriptMapper extends DefaultBaseMapper<TenantScript> {

    List<TenantScript> listAndSystemInfo(TenantScript query);

    IPage<TenantScript> selectBots(Page<TenantScript> page, @Param("query") TenantScript query);

    List<TenantScript> findScope();
}
